<table width=" 100%" border="0">
    <tr>
        <th class="playerDetailHead" colspan="2">Personal Data</th>
    </tr>
    <tr>
        <th class="playerDetailColumn">First Name</th>
        <td class="playerDetailData"><input type="text" name="firstName" id="name" class="regFormField"/></td>
    </tr>
    <tr>
        <th class="playerDetailColumn">Last Name</th>
        <td class="playerDetailData"><input type="text" name="lastName" id="surname" class="regFormField"/></td>
    </tr>
    <tr>
        <th class="playerDetailColumn">Password</th>
        <td id="psd_td" class="playerDetailData">
            <input type="password" name="password" id="password" class="regFormField"/>
        </td>
    </tr>
    <tr>
        <th class="playerDetailColumn">Sex</th>
        <td class="playerDetailData">
            <select name="sex" class="regFormSelectField">
                <option value="" selected disabled>Hand</option>
                <option value="Male">Male</option>
                <option value="Female">Female</option>
            </select>
        </td>
    </tr>
    <tr>
        <th class="playerDetailColumn">Date of birth</th>
        <td class="playerDetailData">
            <input type="text" name="birthday" class="regFormField" value="Day/Month/Year"/>
        </td>
    </tr>
    <tr>
        <th class="playerDetailColumn">Citizenship</th>
        <td class="playerDetailData">
            <select name="citizenship" class="regFormSelectField">
                <option value="" selected disabled>Citizenship</option>
                <?php foreach ($this->countries as $country): ?>
                <option value="<?php echo $country->id;?>"><?php echo $country->name;?></option>
                <?php endforeach; ?>
            </select>
        </td>
    </tr>
    <tr>
        <th class="playerDetailColumn">Current Residence</th>
        <td class="playerDetailData">
            <select name="residence" class="regFormSelectField">
                <option value="" selected disabled>Current residence</option>
                <?php foreach ($this->countries as $country): ?>
                <option value="<?php echo $country->id;?>"><?php echo $country->name;?></option>
                <?php endforeach; ?>
            </select>
        </td>
    </tr>
    <tr id="trMotherTongue">
        <th class="playerDetailColumn">Mother tongue</th>
        <td class="playerDetailData">
            <select name="motherTongue" class="regFormSelectField">
                <option value="" selected disabled>Mother tongue</option>
                <?php foreach ($this->languages as $lang): ?>
                <option value="<?php echo $lang;?>"><?php echo $lang;?></option>
                <?php endforeach; ?>
            </select>
        </td>
    </tr>

    <tr id="trOtherLanguages">
        <th class="playerDetailColumn">Other Languages</th>
        <td class="playerDetailData">
            <select name="otherLanguages[]" class="regFormSelectField">
                <option value="" selected disabled>Other languages</option>
                <?php foreach ($this->languages as $lang): ?>
                <option value="<?php echo $lang;?>"><?php echo $lang;?></option>
                <?php endforeach; ?>
            </select>
        </td>
    </tr>

    <tr id="trAddPhoto">
        <th class="playerDetailColumn">Your Photo</th>
        <td class="playerDetailData">
            <div id="playerSelfImage" style="display:none">
                <img id="imageself" class="imgBoxLeft" src="" alt=""/>
            </div>
            <input type="file" name="photo" id="photo"/></td>
    </tr>
</table>